package com.good.webadmin.Models.Params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @author：大钊
 * @data:2022/3/5 14:08
 **/
@ApiModel("修改模块参数")
@Component
@Data
public class EditModule {
    @ApiModelProperty("模块ID")
    private int  id;

    @ApiModelProperty("父id")
    private int parentId;

    @ApiModelProperty("模块名称")
    private String name;

    @ApiModelProperty("模块说明")
    private String description;

    @ApiModelProperty("模块路径")
    private String path;

    @ApiModelProperty("排序")
    private Integer sn;

    @ApiModelProperty("模块图标")
    private String icon;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getSn() {
        return sn;
    }

    public void setSn(Integer sn) {
        this.sn = sn;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
